<template>
  <div class="news">
    <slot a="1" b="2" c="3" :newsList="newsList" name="qisile"></slot>
  </div>
</template>

<script>
  export default {
    name:'News',
    data() {
      return {
        newsList:[
          {id:'ytfdtrasfdtr1',title:'《震惊！两男子竟然在教室做出这种事！》',isHot:true},
          {id:'ytfdtrasfdtr2',title:'《注意了，这10种食物致命！！》',isHot:false},
          {id:'ytfdtrasfdtr3',title:'《成都，必吃的100种美食！》',isHot:false}
        ]
      }
    },
  }
</script>

<style scoped>
  .news {
    background-color: skyblue;
    padding: 20px;
  }
  ul {
    list-style: none;
    padding-left: 0;
    font-size: 30px;
  }
</style>